package com.tuanzi.loan.business.service.statistics;

import java.util.Date;
import java.util.List;

import com.tuanzi.loan.business.entity.collaborate.StatNewCollaborateRegister;
import com.tuanzi.loan.vo.request.Collaborate.CollaborateStatListRequest;
import com.tuanzi.loan.vo.response.collaborate.CollaborateStatListResponse;
import org.springframework.data.domain.Page;

import com.tuanzi.loan.business.entity.family.RegisterRecommendActivity;
import com.tuanzi.loan.core.vo.PageSearcher;
import com.tuanzi.loan.vo.request.statistics.CommActivityRegisterStatRequest;
import com.tuanzi.loan.vo.response.statistics.CommActivityRegisterStatResponse;
import com.tuanzi.server.loan_base.model.bean.common.CommPlatform;
import com.tuanzi.server.loan_base.model.db.CommProductChannel;
import com.tuanzi.server.loan_base.model.db.CommProductPrdid;

public interface CommActivityRegisterNewStatService {
	
	Page<CommActivityRegisterStatResponse> list(PageSearcher<CommActivityRegisterStatRequest> pageSearcher);
	
	String getExcel(CommActivityRegisterStatRequest searchRequest);
	
	List<RegisterRecommendActivity> getActivityTypeList();
	
	List<CommProductPrdid> getProductList();
	
	List<CommProductChannel> getChannelList();
	
	List<CommPlatform> getPlatformList();
	
	void cleanCache();

	Page<CollaborateStatListResponse> collaborateList(PageSearcher<CollaborateStatListRequest> pageSearcher);

	List<StatNewCollaborateRegister> findByChannelInAndDate(List<Integer> channelList, Date date);

}
